package com.yihu.wlyy.repository;

import com.yihu.wlyy.entity.TblsysParam;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by Administrator on 2016.08.20.
 */
public interface TblsysParamDao extends PagingAndSortingRepository<TblsysParam, Long>, JpaSpecificationExecutor<TblsysParam> {

    @Query(" FROM TblsysParam a WHERE a.paramname=?1 ")
    List<TblsysParam> findByParamname(String relaholder);
}
